package cn.com.fattiger.statics;

public class ChildStatic extends ParentStatic {

	static {
		System.out.println("C static{}.");
	}
	
	{
		System.out.println("C {}.");
	}

	public ChildStatic() {
		System.out.println("C constructor{}.");
	}
	
	public static void main(String[] args) {
		ChildStatic cs = new ChildStatic();
		Integer j = ChildStatic.i;
		System.out.println(Integer.toBinaryString(j));
		System.out.println(Integer.toHexString(j));
		byte[] a = new byte[1024];
		System.out.println(cs);
		System.out.println(a);
		System.out.println("A".hashCode());
		System.out.println("1".hashCode());
		System.out.println("2".hashCode());
		System.out.println("a".hashCode());
		System.out.println(Long.toBinaryString(0x7FFFFFFF));
	}

}
